package com.example.demo.dto;

import lombok.Data;

@Data
public class MixinResponse {
    private String code;
    private String message;
    private Object data;

    public MixinResponse () {}

    public MixinResponse (String code, String message) {
        this.code = code;
        this.message = message;
    }

    public MixinResponse withData(Object data) {
        this.data = data;
        return this;
    }
}
